import {OpCommon} from "@/services/api-functions";
import {isSuccess} from "@/utils/utils";

export const queryDictionaryMap = async () => {
  const {data, code}: any = await OpCommon.searchDictionary();

  return isSuccess(code) ? data : {};
}
